package com.hotelsystem.reservations.persons;

import com.hotelsystem.reservations.reservations.ReservationDetails;

public class Client extends Person {

    private ReservationDetails reservationDetails;
    private double additionalBills;

    public Client() {
        super();
    }

    public Client(String firstName, String lastName, String personalId,
            String telephone, GenderEnum gender, int age, String email,
            String language, String imageFilePath, ReservationDetails reservationDetails) {
        super(firstName, lastName, personalId, telephone, gender, age, email,
                language, imageFilePath);
        this.reservationDetails = reservationDetails;
        this.additionalBills = 0.00;

    }

    public ReservationDetails getReservationDetails() {
        return reservationDetails;
    }

    public void setReservationDetails(ReservationDetails reservationDetails) {
        this.reservationDetails = reservationDetails;
    }

    public double getAdditionalBills() {
        return additionalBills;
    }

    public void setAdditionalBills(double additionalBills) {
        this.additionalBills = additionalBills;
    }

    @Override
    public String toString() {
        return "Person [firstName=" + super.getFirstName() + ", lastName=" + super.getLastName() + ", personalId=" + super.getPersonalId()
				+ ", telephone=" + super.getTelephone() + ", gender=" + super.getGender()  + ", age=" + super.getAge() + ", email=" + super.getEmail()
				+ ", language=" + super.getLanguage() ;
    }

}
